<?php namespace AlexBurcow\Fayna\Updates;

use Schema;
use October\Rain\Database\Updates\Migration;

class BuilderTableUpdateAlexburcowFaynaKorma extends Migration
{
    public function up()
    {
        Schema::table('alexburcow_fayna_korma', function($table)
        {
            $table->text('vnakishii');
            $table->text('katigorii');
            $table->text('nazvanie');
            $table->text('pervishopisanie');
            $table->text('zena');
            $table->text('kartinka');
            $table->text('dli');
            $table->text('ves');
            $table->text('proizvoditel');
            $table->text('sostav');
            $table->text('opisanie');
        });
    }
    
    public function down()
    {
        Schema::table('alexburcow_fayna_korma', function($table)
        {
            $table->dropColumn('vnakishii');
            $table->dropColumn('katigorii');
            $table->dropColumn('nazvanie');
            $table->dropColumn('pervishopisanie');
            $table->dropColumn('zena');
            $table->dropColumn('kartinka');
            $table->dropColumn('dli');
            $table->dropColumn('ves');
            $table->dropColumn('proizvoditel');
            $table->dropColumn('sostav');
            $table->dropColumn('opisanie');
        });
    }
}
